public class CPU {
    int speed;

    void setSpeed(int m) {
        speed = m;
    }

    int getSpeed() {
        return speed;
    }

    public String toString() {
        return Integer.toString(speed);
    }

    static boolean equals(CPU a, CPU b) {
        if (a.speed == b.speed)
            return true;
        else
            return false;
    }
}


